<include file="Public:header" />



<div style="background:#fff; height:40px; line-height:40px; border-bottom:1px solid #ccc; text-align:center;" class="headernav1"> <a href="javascript:history.go(-1);" style="height:40px; width:40px; display:block; float:left; text-align:center;"><i class="fa fa-angle-left"></i></a> <i style="color:#ff1b51;" class="fa fa-file-text-o"></i> 营业账单 <a href="{:U('Home/Cart/index')}" style="height:40px; width:40px; display:block; float:right; text-align:center;"><i class="fa fa-cart-plus"></i></a> </div>

<style>
.headernav1 .fa{font-size:20px;}
.headernav{display:none;}
.nav-glyphicons-list {
	display: table;
	width: 100%;
	padding-left: 0;
	list-style: none;
}
.nav-glyphicons li {
	display: table-cell;
	text-align: center;
    *display: inline-block;
    +float:left;
    
}
.nav-glyphicons li ul li {
	display: block;
}
.nav-glyphicons li a {
	display: inline-block;
	width: 100%;
    _width:auto;
	padding-top:0.2em;
}
.panel-info{border:none !important;}
.nav-glyphicons .glyphicon-class {
	display: block;
	text-align: center;
	word-wrap: break-word
}
.nav-glyphicons .dropdown-menu {
	border-radius: 0;
	padding-top: 0;
	padding-bottom: 0;
}

.panel-success{border-radius:0 !important; border-color:transparent;}
.panel-success .panel-body{border:none;}

.panel-success .panel-heading{border-radius:0;}
.list-group-item{border-radius:0 !important};
</style>
<script type="text/javascript" src="__PUBLIC__/Js/Calendar.js"></script>


<div style="padding:0 5px; background:#FFFFFF; border-bottom:5px solid #eee; border-top:5px solid #eee; padding:8px;">
  <div class="form-group" style="margin-bottom:0;">
    <form action="{:U('Member_account_log/divide')}" method="get">
     <input type="text" class="form-control" placeholder="日期筛选" name="find_time" onClick="new Calendar().show(this);" style="width:50%; display: inline;" >
     <input type="hidden" name="pd_time" value="1">
     <input type="submit" class="btn btn-info" value="确认">
    </form> 
  </div>
</div>

<div class="panel panel-info" style="margin:0;">
  <div class="panel-heading"><i class="glyphicon glyphicon-calendar"></i>总营业统计</div>
  <div class="panel-body" style="background:rgba(255,255,255,1.00); border:none;" >
    <div class="nav-glyphicons Bbutton">
      <ul class="nav-glyphicons-list" style="background-color:#fff">
        <li class=""><a href=""><span class="" aria-hidden="true"><if condition="$sumdivide.zdivide eq 0 ">0<else />{$sumdivide.zdivide}</if></span><span class="glyphicon-class">总分成</span></a></li>
        <li class=""><a href="" style="border-left:1px solid #ccc; border-right:1px solid #ccc;"><span class="" aria-hidden="true"><if condition="$sumdivide.ddivide eq 0 ">0<else />{$sumdivide.ddivide}</if></span><span class="glyphicon-class">待分成</span></a></li>
        <li class=""><a href=""><span class="" aria-hidden="true"><if condition="$sumdivide.ydivide eq 0 ">0<else />{$sumdivide.ydivide}</if></span><span class="glyphicon-class">已分成</span></a></li>
      </ul>
    </div>
  </div>
</div>

<div class="panel panel-info" style="margin:0;">
  <div class="panel-heading"><i class="glyphicon glyphicon-calendar"></i>本月营业统计</div>
  <div class="panel-body" style="background:rgba(255,255,255,1.00); border:none;" >
    <div class="nav-glyphicons Bbutton">
      <ul class="nav-glyphicons-list" style="background-color:#fff">
        <li class=""><a href=""><span class="" aria-hidden="true"><if condition="$sumdivide.bzdivide eq 0 ">0<else />{$sumdivide.bzdivide}</if></span><span class="glyphicon-class">本月分成</span></a></li>
        <li class=""><a href="" style="border-left:1px solid #ccc; border-right:1px solid #ccc;"><span class="" aria-hidden="true"><if condition="$sumdivide.bddivide eq 0 ">0<else />{$sumdivide.bddivide}</if></span><span class="glyphicon-class">本月待分成</span></a></li>
        <li class=""><a href=""><span class="" aria-hidden="true"><if condition="$sumdivide.bydivide eq 0 ">0<else />{$sumdivide.bydivide}</if></span><span class="glyphicon-class">本月已分成</span></a></li>
      </ul>
    </div>
  </div>
</div>


<div class="panel panel-info" style="margin:0px;">
  <div class="panel-heading">
    <h3 class="panel-title">分成明细</h3>
  </div>
  <div class="panel-body" style="padding:0; border:none;">
           <ul class="list-group">
  <volist name="list" id="vo">
            <li class="list-group-item">
              <span style="font-size:12px;">{$vo.remark}</span>
              <p class="list-group-item-text">销售额：{$vo.goodsMoney}　
              </p>
              
              <p class="list-group-item-text">级别：{$vo.deep}　
              </p>
              
              <p class="list-group-item-text">分成金额：{$vo.affmoney}　
              </p>
              <p class="list-group-item-text">状态：<if condition="$vo.status eq 0">
                  <span style="color: rgba(159,41,43,1.00)">待确认</span>
              <elseif condition="$vo.status eq 3"/>
                  <span style="color: rgba(159,41,43,1.00)">已经退货</span>
              <elseif condition="$vo.status eq 1"/>已确认</if><span style="font-size:20px; float:right; color:#f00;"><gt name="vo['changenum']" value="0">+</gt>{$vo.changenum}</span></p>
              <p class="list-group-item-text">{:date('Y-m-d H:i:s', $vo['dateline'])}</p>
            </li>
     </volist> </ul>
  </div>
</div>
<div class="pages">{$pages}</div>
<include file="Public:footer" />